/**
 * 
 */
package com.gr.staffpm.pages.management.review.command;

import java.io.Serializable;

import org.apache.wicket.ajax.AjaxRequestTarget;

import com.gr.staffpm.gof.command.IAjaxCommand;


/**
 * @author Graham Rhodes 17 Feb 2011 14:49:27
 */
public class RejectCommand implements IAjaxCommand, Serializable {

    private static final long serialVersionUID = 1L;
    private final IReviewCommandReciever reviewPage;

    public RejectCommand(IReviewCommandReciever reviewPage) {
        this.reviewPage = reviewPage;
    }

    /* (non-Javadoc)
     * @see com.gr.staffpm.gof.command.ICommand#execute()
     */
    @Override
    public void execute(AjaxRequestTarget target) {
        reviewPage.rejectTasks(target);
    }

}
